﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Threading;
using System.Windows.Shapes;

namespace Hugo
{
    class AnatomyUIPage : UIPage
    {

        const int labelFontSize = 60;
        private Label currentSelectionLabel;
        private Point CursorPosition;


        private double scale = 0.6;

        public AnatomyUIPage()
            : base("Anatomy", Util.getBitmapSource(Properties.Resources.anatomy1))
        {
            targetrect = Util.getSymbol(Util.getBitmapSource(Properties.Resources.anatomy));
            targetrect.Width = 1008 * scale;
            targetrect.Height = 904 * scale;
            PageCanvas.Children.Add(targetrect);
            Canvas.SetLeft(targetrect, GlobalSettings.EffectiveScreenMiddleX-targetrect.Width/2);
            Canvas.SetTop(targetrect, GlobalSettings.EffectiveScreenMiddleY - targetrect.Height / 2 + 20);

            this.areShiftButtonsVisible = false;
            //this.areQuickButtonsVisible = false;
        }

        private Rectangle targetrect;
    
        public override bool setCursorPosition(Point p)
        {
            this.CursorPosition = p;
            return false;
        }

        public override void unSetPage()
        {
            base.unSetPage();
        }
    }
}
